<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="<%=basePath%>" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="admin/css/style.css" />
<link rel="stylesheet" type="text/css" media="all" href="admin/css/niceforms-default.css" />
<script type="text/javascript" src="admin/js/jquery.min.js"></script>
<script type="text/javascript" src="admin/js/ddaccordion.js"></script>
<script src="admin/js/jquery.jclock-1.2.0.js" type="text/javascript"></script>
<script src="admin/js/jconfirmaction.jquery.js" type="text/javascript"></script>
<script language="javascript" type="text/javascript" src="admin/js/niceforms.js"></script>
</head>
<body>
<div id="main_container">

	<div class="header_login">
    <div class="logo"><a href="#"><img src="img/logo.gif" alt="" title="" border="0" /></a></div>
    
    </div>

     
         <div class="login_form">
         
         <h3>管理员登录</h3>
         
         <a href="#" class="forgot_pass">忘记密码</a> 
         
         <form action="<%=basePath%>j_spring_security_check" method="post" class="niceform">
         
                <fieldset>
                    <dl>
                        <dt><label for="email">用户名:</label></dt>
                        <dd><input type="text" name="j_username" id="" size="54"  value="admin" /></dd>
                    </dl>
                    <dl>
                        <dt><label for="password">密  码:</label></dt>
                        <dd><input type="password" name="j_password" id="" size="54"  value="admin" /></dd>
                    </dl>
                    
                          <%
    	String error = "0";
    	String temp = (String)request.getParameter("error");
    	if(temp != null && temp.equals("1")) {
    %>
    	<dl><div align="center" style="color: red;">用户名或密码错误!</div></dl>
    <%
    	}
    %>
                    
                     <dl class="submit">
                    <input type="submit" name="submit" id="submit" value="登录" />
                     </dl>
                    
                </fieldset>
                
         </form>
      
         </div>  
          
	
    
    <div class="footer_login">
    
    	<div class="left_footer_login">IN ADMIN PANEL | Powered by <a href="">INDEZINER</a></div>
    	<div class="right_footer_login"><a href=""><img src="img/indeziner_logo.gif" alt="" title="" border="0" /></a></div>
    
    </div>

</div>		
</body>
</html>